html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

#app {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* 使用 CSS 生成网格，避免引入图片 */
  background-image:
    linear-gradient(rgba(0, 255, 204, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 204, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  z-index: 1;
}

.content {
  position: relative;
  z-index: 2;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
  height: 100vh;
}

/* 图表容器样式 */
.charts-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.chart-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 20px;
}

.chart-card {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.8) 0%, rgba(21, 21, 37, 0.8) 100%);
  border: 1px solid #2a2a3e;
  border-radius: 12px;
  padding: 20px;
  min-height: 400px;
  display: flex;
  flex-direction: column;
}

.chart-title {
  font-size: 18px;
  font-weight: 600;
  color: #d3e9ff;
  margin: 0 0 20px 0;
  text-align: center;
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .chart-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .content {
    padding: 10px;
  }
  
  .chart-card {
    min-height: 300px;
    padding: 15px;
  }
  
  .chart-title {
    font-size: 16px;
  }
}